package common.Tables;

import java.io.Serializable;

/**
 * class TaskPerPsych.
 * represents TaskPerPsych table
 * @author michal
 *
 */
public class TaskPerPsych implements Serializable,Table{	
	private static final long serialVersionUID = 1L;	
	private String notes;	//notes
	private Psychologists psychID;	//psychologist
	private Tasks taskID;	//task
	private String printTask="";	//the task in print format. 
	private long tasksNotesID;
	
	/*
	 * getters & setters
	 */
	public long getTasksNotesID() {
		return tasksNotesID;
	}
	public void setTasksNotesID(long tasksNotesID) {
		this.tasksNotesID = tasksNotesID;
	}
	public Psychologists getPsychID() {
		return psychID;
	}
	public void setPsychID(Psychologists psychID) {
		this.psychID = psychID;
	}
	public Tasks getTaskID() {
		return taskID;
	}
	public void setTaskID(Tasks taskID) {
		this.taskID = taskID;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}	
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	
	public String toString(){
		return "PSYCHID: "+psychID+" TASKID: "+taskID+" NOTES:"+notes;
	}
	public void setPrintTask(String printTask) {
		this.printTask = printTask.trim();
	}
	public String getPrintTask() {
		return printTask;
	}
}
